<html>
<head>
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><b>function</b> CreateBitmask(Components: <a href="../../GR32/Types/Color%20Types.htm#TColor32Components">TColor32Components</a>): <a href="../../GR32/Types/Color Types.htm#TColor32">TColor32</a>; <b>overload</b>;</p>
<p class="Body">This function takes a set of <a href="../../GR32/Types/Color%20Types.htm#TColor32Component">TColor32Component</a> and creates a <a href="../../GR32/Types/Color%20Types.htm#TColor32">TColor32</a>. If a given component is present in the set, the result component will get the value <em>255</em>; if not present the result component will be <em>zero</em>. The context of application is to prepare a Bitmask parameter for the routine <a href="ApplyBitmask.htm">ApplyBitmask</a>. To construct bitmasks containing any number in range [<em>0..255</em>] per component, use <a href="../../GR32/Routines/Color32.htm">Color32</a>.<br>
			<br>
</p>
		<p id="hidden">[See Also]: </p>
		<p class="Body">&nbsp;</p>
</body>
</html>
